import http from "@/utils/http";

// 分页
export const appVersionPage = (params)=> http.get('/adminapi/app/version/page', params)

// 详情
export const appVersionDetail = (id)=> http.get(`/adminapi/app/version/detail/${id}`)

// 新增
export const appVersionAdd = (data)=> http.post('/adminapi/app/version/add', data)

// 编辑
export const appVersionEdit = (data)=> http.post('/adminapi/app/version/edit', data)

// 发布
export const appVersionRelease = (id)=> http.post(`/adminapi/app/version/release/${id}`)